<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
    <head>
        <title>SSAP | Retorno nuevo seguro</title>
        <script>
            function retorno_valor(valor, nombre){
                var ret = opener.document.getElementById('seguroId').innerHTML;
                ret = ret.replace('selected="selected"',' ');
                opener.document.getElementById('seguroId').innerHTML = ret + '<option value="'+valor+'" selected="selected">'+nombre+'</option>';
                window.close()
            }
        </script>
    </head>
    <body onload="javascript: retorno_valor('<?php echo $valor; ?>','<?php echo $nombre; ?>');">
        <?php echo $valor; ?>,<?php echo $nombre; ?>
    </body>
</html>